package cn.book.bus.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (Orgdepartment)表实体类
 *
 * @author makejava
 * @since 2024-01-12 09:50:59
 */
@SuppressWarnings("serial")
public class Orgdepartment extends Model<Orgdepartment> {
    
    private String id;
    
    private String parentdepartmentid;
    
    private String departmentname;
    
    private String orderindex;
    
    private String departmentdesc;
    
    private String departmentno;
    
    private Integer layer;
    
    private String administrators;
    
    private String departmentzone;
    
    private String companyid;
    
    private String outerid;
    
    private String ext1;
    
    private String ext2;
    
    private String workcanlendar;
    
    private Integer isunit;
    
    private String ext3;
    
    private String ext4;
    
    private String ext5;
    
    private String departmenttype;
    
    private Integer closed;
    
    private Date closedate;
    
    private Date begindate;
    
    private Date enddate;
    
    private Date createdate;
    
    private Date updatedate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentdepartmentid() {
        return parentdepartmentid;
    }

    public void setParentdepartmentid(String parentdepartmentid) {
        this.parentdepartmentid = parentdepartmentid;
    }

    public String getDepartmentname() {
        return departmentname;
    }

    public void setDepartmentname(String departmentname) {
        this.departmentname = departmentname;
    }

    public String getOrderindex() {
        return orderindex;
    }

    public void setOrderindex(String orderindex) {
        this.orderindex = orderindex;
    }

    public String getDepartmentdesc() {
        return departmentdesc;
    }

    public void setDepartmentdesc(String departmentdesc) {
        this.departmentdesc = departmentdesc;
    }

    public String getDepartmentno() {
        return departmentno;
    }

    public void setDepartmentno(String departmentno) {
        this.departmentno = departmentno;
    }

    public Integer getLayer() {
        return layer;
    }

    public void setLayer(Integer layer) {
        this.layer = layer;
    }

    public String getAdministrators() {
        return administrators;
    }

    public void setAdministrators(String administrators) {
        this.administrators = administrators;
    }

    public String getDepartmentzone() {
        return departmentzone;
    }

    public void setDepartmentzone(String departmentzone) {
        this.departmentzone = departmentzone;
    }

    public String getCompanyid() {
        return companyid;
    }

    public void setCompanyid(String companyid) {
        this.companyid = companyid;
    }

    public String getOuterid() {
        return outerid;
    }

    public void setOuterid(String outerid) {
        this.outerid = outerid;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getWorkcanlendar() {
        return workcanlendar;
    }

    public void setWorkcanlendar(String workcanlendar) {
        this.workcanlendar = workcanlendar;
    }

    public Integer getIsunit() {
        return isunit;
    }

    public void setIsunit(Integer isunit) {
        this.isunit = isunit;
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3;
    }

    public String getExt4() {
        return ext4;
    }

    public void setExt4(String ext4) {
        this.ext4 = ext4;
    }

    public String getExt5() {
        return ext5;
    }

    public void setExt5(String ext5) {
        this.ext5 = ext5;
    }

    public String getDepartmenttype() {
        return departmenttype;
    }

    public void setDepartmenttype(String departmenttype) {
        this.departmenttype = departmenttype;
    }

    public Integer getClosed() {
        return closed;
    }

    public void setClosed(Integer closed) {
        this.closed = closed;
    }

    public Date getClosedate() {
        return closedate;
    }

    public void setClosedate(Date closedate) {
        this.closedate = closedate;
    }

    public Date getBegindate() {
        return begindate;
    }

    public void setBegindate(Date begindate) {
        this.begindate = begindate;
    }

    public Date getEnddate() {
        return enddate;
    }

    public void setEnddate(Date enddate) {
        this.enddate = enddate;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

